<html>
<head>
    <#assign basePath=request.contextPath>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>详情</title>
    <!-- Bootstrap Core CSS -->
    <link href="${basePath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="${basePath}/bootstrap/css/font-awesome.min.css" rel="stylesheet">
    <link href="${basePath}/bootstrap/css/form.lzy.css" rel="stylesheet">
    <link href="${basePath}/bootstrap/css/good.lzy.css" rel="stylesheet">
</head>
<body>
<div id="page-wrapper" >
    <div class="panel">
        <div class="panel-body">
            <form id="myForm" class="form-horizontal" method="post" enctype="multipart/form-data" >
                <input type="hidden" name="id" id="id" value="${identity.id}">

                <div class="form-group">
                    <span class="control-label col-sm-2 col-xs-4"><font color="red"></font> 身份名称：</span>
                    <div class="col-sm-9 col-xs-8" style="margin-top: 7px;">
                        <span size="30" name="name" id="name" maxlength="10">${identity.name}</span>
                    </div>
                </div>
                <div class="form-group">
                    <span class="control-label col-sm-2 col-xs-4"><font color="red"></font> 是否启用：</span>
                    <div id="wrap" class="col-sm-9 col-xs-8" style="width: 255px; margin-top: 7px;">
                        <label>
                            <c:if test="${identity.status=='0'}"><span type="text" size="30" >启用</span></c:if>
                            <c:if test="${identity.status=='1'}"><span type="text" size="30" >禁用</span></c:if>
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <span class="control-label col-sm-2 col-xs-4"><font color="red"></font> 收益边界：</span>
                    <div class="col-sm-9 col-xs-8" id="incomeDiv" style="margin-top: 7px;" >
                        <c:forEach items="${incomes}" var="income">
                            <label>
                                <c:if test="${income.checked==1}"><span type="text" size="30" >${income.name}</span></c:if>
                            </label>
                        </c:forEach>
                    </div>
                </div>
                <div class="form-group">
                    <span class="control-label col-sm-2 col-xs-4"><font color="red"></font> 管理者：</span>
                    <div class="col-sm-9 col-xs-8" id="managerDiv" style="margin-top: 7px">
                        <span type="text" size="30" >${identity.managerName}</span>
                    </div>
                </div>
                <div class="form-group">
                    <span class="control-label col-sm-2 col-xs-4">备注：</span>
                    <div class="col-sm-9 col-xs-8" style="margin-top: 7px;">
                        <span type="text" size="30" >${identity.remark}</span>
                    </div>
                </div>

                <div class="form-group">
                    <span class="control-label col-sm-2 col-xs-4"></span>
                    <div class="col-sm-9 col-xs-8">
                        <button type="button" class="btn btn-info" onclick="parent.layer.closeAll();tt(this.style.display='none')"><i class="fa fa-close"></i>返回</button>
                    </div>
                </div>
            </form>

        </div>
    </div>
</div>
</body>
</html>